<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>AI远端护理康养指导系统 - 登录</title>
    <link rel="stylesheet" href="style.css">
</head>
<body>
    <div class="container">
        <div class="login-box">
            <h2>AI远端护理康养指导系统</h2>
            <form id="loginForm">
                <div class="form-group">
                    <label for="username">用户名</label>
                    <input type="text" id="username" required>
                </div>
                <div class="form-group">
                    <label for="password">密码</label>
                    <input type="password" id="password" required>
                </div>
                <div class="form-group">
                    <label for="role">角色</label>
                    <select id="role" required>
                        <option value="patient">患者</option>
                        <option value="doctor">医护人员</option>
                    </select>
                </div>
                <button type="submit">登录</button>
            </form>
            <p id="errorMsg" class="error"></p>
        </div>
    </div>
    <script src="script.js"></script>
</body>
</html>
